<?php


namespace app\controller\admin;


use app\model\article\ArticleApplyModel;
use app\model\article\ArticleModel;
use app\model\user\UserModel;

class ArticleApplyController extends BaseAdminController
{

    function setModel()
    {
        return new ArticleApplyModel();
    }

    function setWithModel()
    {
        return ['user', 'article', 'city'];
    }

    function setSearch()
    {
        return [
            'betweenTimestamp' => ['create_time'],
            'like' => ['user.username' => 'username', 'article.title' => 'article_name']
        ];
    }

    function setSort()
    {
        // TODO: Implement setSort() method.
    }
}